package com.topera.educenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.topera.educenter.entity.RegisterVo;
import com.topera.educenter.entity.UcenterMember;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author puzhenjiang
 * @since 2020-06-05
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    /**
     * 登录
     * @param member
     * @return
     */
    String login(UcenterMember member);

    /**
     * 注册
     * @param registerVo
     */
    void register(RegisterVo registerVo);

    /**
     *
     * @param openid
     * @return
     */
    UcenterMember getByOpenid(String openid);

    int countRegister(String day);

}
